<?php

namespace IDock\Insurance\DBIC\Request;

use IDock\Insurance\DBIC\Response\ProposalStatusResponse;
use IDock\Visitor\ProposalStatusVisitor;

class ProposalStatusRequest extends AllDBICRequest
{
    protected $route = 'dbic/qos/channel/quote/queryStatus';

    protected $response = ProposalStatusResponse::class;

    protected $urlTip = '查询保单核保以及生效状态';

    /*** @var  ProposalStatusVisitor $visitor */
    protected $visitor;

    public function generate(): array
    {
        return [
            'quoteOrderNo' => $this->visitor->inquiryNo,
            'proposalNo' => '',
        ];
    }
}